package com.groupbuying.task.connector;

import com.groupbuying.task.utils.apiresult.ApiResult;
import feign.Param;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Author Vincentxin
 * @Date 2019/11/29
 */
@Service
@FeignClient("service-redpacket")
public interface RedPacketFeign {

   @GetMapping("/base/delayStartTask")
   ApiResult delayStartTask(@Param("taskId") String taskId);
}
